import request from '@/utils/request'

export function getActivityList(term){
	return request({
		url:'/score/teacher/selectActivity/'+term,
		method:'get'
	})
}
export function calculateEvaluationScoresOfTeacher(){
	return request({
		url:'/pingjiao/evaluation/calculateEvaluationScoresOfTeacher',
		method:'get'
	})
}
export function selectPersonScoreByActivityId(activityId){
	return request({
		url:'/score/teacher/selectPersonScore/'+activityId,
		method:'get'
	})
}
export function getTeacherInfo(userId){
	return request({
		url:'/score/teacher/Info/'+userId,
		method:'get'
	})
}
export function getDetailScore(evaluationId,teacherId){
	return request({
		url:'/pingjiao/statistic/getTeacherEvaluationPaperItemScoreReport/'+evaluationId+'/'+teacherId,
		method:'get'
	})
}
export function getDeptRank(evaluationId){
	return request({
		url:'/pingjiao/statistic/getDeptRank/'+evaluationId,
		method:'get'
	})
}
export function getMyRank(){
	return request({
		url:'/score/teacher/getRank',
		method:'get'
	})
}